home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
cpp_libs
/
answrbok
/
7_10.lha
/
7_10
/
qt_des.c
< prev
next >
Wrap
Text File
|
1993-08-08
|
565b
|
21 lines
* Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */
* The C++ Answer Book */
* Tony Hansen */
* All rights reserved. */
include <process.h>
include <debug.h> /* DELETE */
/ delete the queue_tail and also the process_queue
/ if it is not also pointed to by a queue_head
ueue_tail::~queue_tail()
if (debug) /*DELETE*/ cerr << "queue_tail" << this << "::~queue_tail()\n";
process_queue *q = qt_queue;
if (q->q_head)
q->q_tail = 0;
else
delete q;
if (debug) /*DELETE*/ cerr << "<<<< queue_tail" << this << "::~queue_tail()\n";